package cn.wbnull.springbootdemo.Task;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * 功能描述
 *
 * @author EDZ
 * @since 2022-04-07
 */
@Component

class SchedulerTask {
    private int count=0;

//    @Scheduled(cron="*/6 * * * * ?")
//    private void process(){
//        System.out.println("this is scheduler task runing  "+(count++));
//    }
}
